package com.yuyou.train.user.service;

import java.util.List;

import com.yuyou.train.service.api.user.entity.UserDataConfig;

public interface  IUserDataConfigService {
    int deleteByPrimaryKey(String id);
    
    int deleteUserDataConfig(String userId,String type);

    int insert(UserDataConfig record);

    UserDataConfig selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(UserDataConfig record);

    int batchInsertUserDataConfig(List<UserDataConfig> userDataConfigList);
    
    List<String> findDataIdByUserIdAndType(String userId,String type);

    List<String> findDataNameByUserIdAndType(String userId, String type);
    
    String selectUserSubjectId(String userId)throws Exception;
    
    List<String> selectTeacherSubjectId(String userId) throws Exception;
    
    
}